package com.braveman.im.ui.holder;

import android.widget.ImageView;
import android.widget.TextView;

import com.braveman.im.R;
import com.braveman.im.bean.AccountBean;
import com.ht.baselibs.ui.base.BaseViewHolder;

public class CompanyCheckItemViewHolder extends BaseViewHolder<AccountBean> {

    private ImageView mIvItemCompanyCheckHeadIcon;
    private TextView mIvItemCompanyCheckInfo;
    private TextView mIvItemCompanyCheckTime;
    private TextView mIvItemCompanyCheckAgree;
    private TextView mIvItemCompanyCheckRefuse;


    public CompanyCheckItemViewHolder() {
        super(R.layout.item_company_check);
    }

    @Override
    protected void initView() {
        mIvItemCompanyCheckHeadIcon = findViewById(R.id.iv_item_company_check_head_icon);
        mIvItemCompanyCheckInfo = findViewById(R.id.iv_item_company_check_info);
        mIvItemCompanyCheckTime = findViewById(R.id.iv_item_company_check_time);
        mIvItemCompanyCheckAgree = findViewById(R.id.iv_item_company_check_agree);
        mIvItemCompanyCheckRefuse = findViewById(R.id.iv_item_company_check_refuse);
    }

    @Override
    protected void refreshView(AccountBean locationBean) {
        mIvItemCompanyCheckInfo.setText(locationBean.auStatus);
        mIvItemCompanyCheckTime.setText(locationBean.auStatus);
    }
}
